home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 1.iso / toolbox / src / tutorials / custEducation / opengl1 / examples / adv_lighting / Makefile < prev    next >
Encoding:
Makefile  |  1996-11-11  |  1.3 KB  |  45 lines

  1. #!smake
  2. #
  3. # Copyright 1993, Silicon Graphics, Inc.
  4. #  All Rights Reserved.
  5. #
  6. # This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;
  7. # the contents of this file may not be disclosed to third parties, copied or
  8. # duplicated in any form, in whole or in part, without the prior written
  9. # permission of Silicon Graphics, Inc.
  10. #
  11. # RESTRICTED RIGHTS LEGEND:
  12. # Use, duplication or disclosure by the Government is subject to restrictions
  13. # as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data
  14. # and Computer Software clause at DFARS 252.227-7013, and/or in similar or
  15. # successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -
  16. # rights reserved under the Copyright Laws of the United States.
  17. #
  18. #
  19. # Makefile for opengl 1 class examples for opening windows and setting
  20. # the background
  21. #
  22. #    "$Revision: 1.3 $"
  23.  
  24. include    $(ROOT)/usr/include/make/commondefs
  25.  
  26. CFILES  = indexLighting.c lightPosition.c movingLight.c twoSide.c spotLight.c
  27. TARGETS    = indexLighting lightPosition movingLight twoSide spotLight
  28.  
  29. OPENGL1 ?= ../..
  30.  
  31. LLDOPTS = -L${OPENGL1}/lib
  32. LLDLIBS = -loglprog -lglut -lGLU -lGL -lXmu -lX11 -lm
  33.  
  34. LCINCS = -I. -I${OPENGL1}/include
  35.  
  36. # don't bother making intermediate files since only one source file
  37. LMKDEPFLAGS= $(NULLSUFFIX_MKDEPFLAG)
  38.  
  39. default:    $(TARGETS)
  40.  
  41. include $(COMMONRULES)
  42.  
  43. install:    default
  44.  
  45.